#include "selectServer.hpp"
#include "err.hpp"
#include <memory>

using namespace std;
using namespace select_ns;

static void usage(std::string proc)
{
    std::cerr << "Usage:\n\t" << proc << " port" << "\n\n";
}

// ./select_server 8081
int main(int argc, char *argv[])
{
    unique_ptr<SelectServer> svr(new SelectServer());

    svr->initServer();

    svr->start();

    return 0;
}